package flex.cc.order.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import flex.cc.order.manage.dto.order.OrderCustomerEntity;
import flex.cc.order.manage.dto.order.OrderMainEntity;
import flex.cc.order.manage.dto.vo.OrderMainVo;

import java.util.List;
import java.util.Map;

/**
 * @author wkangle
 * @className OrderMainService
 * @description 服务单客户信息表service
 * @time 2021-09-06 15:46:46
 */
public interface OrderCustomerService extends IService<OrderCustomerEntity> {

    /**
     * @description 添加一条记录
     * @param orderCustomerEntity
     * @return
     * @author wkangle
     * @time 2021/09/08 0008 8:58
     * @exception/throws
     */
    int insert(OrderCustomerEntity orderCustomerEntity);

    /**
     * @description 根据查询条件查询服务单客户
     * @param params 查询条件
     * @return
     * @author wkangle
     * @time 2021-09-08 16:19:25
     * @exception/throws
     */
    OrderCustomerEntity getOneByParams(Map<String, Object> params);

    /**
     * @description 更新
     * @param orderCustomerEntity
     * @return
     * @author wkangle
     * @time 2021-09-12 15:19:36
     * @exception/throws
     */
    int update(OrderCustomerEntity orderCustomerEntity);
    
    public List<Map<String,String>> querySearchAsyncMobile(OrderMainVo vo);
    
    public String queryCustomerByNo(OrderMainVo vo);
    

}
